<!-- 我的表格 -->

<template>
  <WebTable>
    <RowIndex />

    <RowTitle label="服务名称" bind="dockingName" :minWidth="120" />

    <RowDict label="对接节点" bind="nodeId, nodeName" :dict="node_selectDict" />

    <RowDict label="对接类型" bind="dockingType" :dict="DICT.TYPE" />

    <RowNum label="对接数量" bind="deviceNum" :width="120" />

    <RowText label="服务说明" bind="dockingDesc" :minWidth="120" />

    <RowStatus label="在线状态" bind="onlineStatus" :dict="CORE.DICT.STATUS_ONLINE" />

    <RowStatus label="部署状态" bind="deployStatus" :dict="DICT.STATUS_DEPLOY" />

    <RowOperate :btns="['show', 'edit', 'submit', 'del']" :onShow="windowDetail" :width="180" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixDetailToTable('', 'DetailIOTService'), CORE.mixSelect('node', 'node_')],
}
</script>
